package com.joolun.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
@ApiModel(description = "推荐")
public class RecommendDto {

    @NotBlank(message = "剧本ID不能为空")
    @ApiModelProperty(value = "剧本ID", required = true)
    private String scriptId;

    /**
     * 状态
     */
    @NotBlank(message = "状态不能为空")
    @ApiModelProperty(value = "状态", required = true)
    @Pattern(regexp = "Y|N", message = "参数不合法")
    private String status;

}
